<?php

        include_once 'vezir.php';
        include_once 'xhtml.php';

        class Comanche {
            function Comanche() {
                global $CF;
                $this->Conf = $CF;
                $this->Vezir = new Vezir($CF['Db'],$CF['ConsoleOutput']);
            }

            function State(){
                if ($this->Vezir->CheckConnection())
                    $Results[]='Database Configuration : OK';
                else
                    $Results[]='Database Configuration : FAILED';

                $Results[]='Path Configuration : OK';
                return _ul($Results);
            }
        }

?>
